-if facebook_user
  %h1 Registar utilizador do facebook
-else
  %h1 Registar novo utilizador

-semantic_form_for(@user) do |form|
  =form.error_messages
  -form.inputs do
    =form.input :first_name, :hint=>"you name is?", :input_html => { :size => 20 }
    =form.input :last_name, :input_html => { :size => 20 }
    =form.input :email, :input_html => { :size => 20 }
    -unless facebook_user
      =form.input :password, :input_html => { :size => 20 }
      =form.input :password_confirmation, :input_html => { :size => 20 }
  -form.buttons do
    =form.commit_button :label=>t(:register_user)

  